import { HttpClient, HttpServer, WsServer } from "tsrpc";
import { ecs } from "../../../core/ecs/ECS";
import { Room } from "../../../module/room/Room";
import { serviceProto as RoomServiceProto, ServiceType as RoomServiceType } from "../../../tsrpc/shared/protocols/RoomServiceProto";



/** 网关服务器数据 */
@ecs.register('RoomServiceModel')
export class RoomServiceModelComp extends ecs.Comp {

    wsService:WsServer<RoomServiceType> = null!;
    rooms:Map<number, Room> = new Map();

    reset(): void {
        
    }
}